#include <iostream>
using namespace std;
int main()
{
  int m;
  cout<<"Vvedite, please, nomer mecyaca\n";
  cin>>m;
  switch (m)
  {
      case 1  :cout<<"Chislo dney v mesiace ravno "<<31; break;
      case 2  :cout<<"Chislo dney v mesiace ravno "<<28; break;
      case 3  :cout<<"Chislo dney v mesiace ravno "<<31; break;
      case 4  :cout<<"Chislo dney v mesiace ravno "<<30; break;
      case 5  :cout<<"Chislo dney v mesiace ravno "<<31; break;
      case 6  :cout<<"Chislo dney v mesiace ravno "<<30; break;
      case 7  :cout<<"Chislo dney v mesiace ravno "<<31; break;
      case 8  :cout<<"Chislo dney v mesiace ravno "<<31; break;
      case 9  :cout<<"Chislo dney v mesiace ravno "<<30; break;
      case 10 :cout<<"Chislo dney v mesiace ravno "<<31; break;
      case 11 :cout<<"Chislo dney v mesiace ravno "<<30; break;
      case 12 :cout<<"Chislo dney v mesiace ravno "<<31; break;
      default :cout<<"Wbi nemnogo oshiblis :*(";
       }
    return 0;
}
